<script lang="ts">
import { defineComponent, ref, watch } from "vue";

export default defineComponent({
  props: ["overViewData"],
  setup(props) {
    const ContentData = ref() as any;
    ContentData.value = props.overViewData;
    watch(
      () => props.overViewData,
      (val: any) => {
        ContentData.value = val;
      }
    );
    return {
      ContentData,
    };
  },
});
</script>

<template>
  <div class="content">
    <div class="midContent">
      <div class="overview">
        <div class="overviewTitle bigTitle">方案介绍</div>
        <div class="overviewText">
          <div class="contentText" v-html="ContentData"></div>
        </div>
      </div>
    </div>
  </div>
</template>

<style lang="scss" scoped>
@import url("@/assets/css/content.css");

.content {
  margin: 0 auto;
  width: 100% !important;
  // background-color: #fff;

  .midContent {
    // width: 1440px;
    margin: auto;
  }

  .overview {
    width: 60%;
    margin: 0 auto;
    text-align: center;
    padding-bottom: 40px;

    .overviewTitle {
      // font-weight: bold;
      padding: 60px 0 40px 0;
    }

    .overviewText {
      text-align: center;
      div {
        margin-bottom: 20px;
      }
    }
  }
}

@media screen and (max-width: 768px) {
  .content {
    background-color: #fff;
    // padding: 0 10px 0 0 !important;
    .midContent {
      width: 100%;
    }
    .overview {
      width: 100%;
      .overviewTitle {
        text-align: left;
        padding: 40px 0 20px 0;
        // padding-left: 10px;
      }
    }
  }
}
</style>